package edu.ptu.communityplatform.mapping;

import edu.ptu.communityplatform.domain.entity.ParkingLot;
import edu.ptu.communityplatform.domain.vos.ParkingPageVo;
import edu.ptu.communityplatform.domain.vos.ParkingVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @BelongsProject: communityPlatform
 * @BelongsPackage: edu.ptu.communityplatform.mapping
 * @Author: HYJ
 * @CreateTime: 2025-04-08  19:25
 * @Description: TODO
 * @Version: 1.0
 */
@Mapper
public interface ParkingLotMapping {

    ParkingLotMapping PARKING_MAPPING = Mappers.getMapper(ParkingLotMapping.class);

    /**
     * 转换
     */
    ParkingVo parkingToParkingVo(ParkingLot parkingLot);

    ParkingPageVo parkingToParkingPageVO(ParkingLot parkingLot);
}
